package com.schillerchina.baselibrary.network.interceptor;

import com.schillerchina.baselibrary.network.config.TokenBean;

import retrofit2.Call;
import retrofit2.http.POST;

/**
 * @author zhangzhiguo
 * @date 2019-08-05 09:39
 * @Description: Token获取
 */
public interface TokenApi {
    /**
     * 更新token接口
     * @param oldJwt 过去token
     * @return
     */
    @POST("api/users/refresh")
    Call<TokenBean> getNewToken();
}
